package com.lzh.others.collection.Map;

/**
 * @Description:
 * @Author: LiuZiHao
 * @Date: 2022/11/7 09:41
 */
public enum DayOfWeek {
    SUNDAY(7, "星期天"),
    MONDAY(1, "星期一"),
    TUESDAY(2, "星期二"),
    WEDNESDAY(3, "星期三"),
    THURSDAY(4, "星期四"),
    FRIDAY(5, "星期五"),
    SATURDAY(6, "星期六");

    private int value;

    private String text;

    DayOfWeek(int value, String text) {
        this.value = value;
        this.text = text;
    }

    public int getValue() {
        return value;
    }

    public String getText() {
        return text;
    }

}
